{include file=header.html}
{include file=curlocal.html}

<div id="all-catalog">
   <!--{foreach from=$gcategorys item=gcategory}-->
   <div class="main-catalog">
      <div class="title"><span><a href="{url app=search&cate_id=$gcategory.id}">{$gcategory.value|escape}</a></span></div>
	  <!--{foreach from=$gcategory.children item=child name=fe_child}-->
	  <div class="each <!-- {if $smarty.foreach.fe_child.iteration % 2 eq 0} -->write<!--{/if}-->">
	     <h2><a href="{url app=search&cate_id=$child.id}">{$child.value|escape}</a></h2>
		 <!-- {foreach from=$child.children item=child2} -->

		 <a href="{url app=search&cate_id=$child.id}">{$child2.value|escape}</a>
		 <!--{/foreach}-->
	  </div>
	  <!--{/foreach}-->
   </div>
   <!--{/foreach}-->
</div>
{include file=footer.html}